
package com.sausageking.client.consumer.ui;

import com.google.gwt.user.client.ui.IsWidget;
import com.sausageking.client.common.Context;
import com.sausageking.shared.BuyerException.Code;

public interface StampDialogView extends IsWidget {

  StampDialogView setContext(Context context);

  void show();

  void hide();

  StampDialogView setError(Code errorCode);
  
  StampDialogView setPresenter(Presenter presenter);

  interface Presenter {
    public void stamp(String merchant, String email, String merchantToken);
  }
  
  void setErrorMode(boolean errorMode);

}
